/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package bombercloud.server;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 *
 * @author Leonardo Oliveira Moreira
 */
public class BomberCloudServerOutputMessage {
    
    private static SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyy hh:mm:ss");
    
    private BomberCloudServerOutputMessage() {
        
    }
    
    public static void printMessage(String message) {
        System.out.println("[" + dateFormat.format(new Date()) + "]: " + message);
    }
    
    public static void printErrorMessage(String message) {
        System.out.println("[" + dateFormat.format(new Date()) + "] ERROR: " + message);
    }
    
}
